<template>
	<view>
		<uni-card title="明细列表" type="line">
			<uni-row>
				<uni-col :span="3.5">
					<view class="demo-uni-col-key dark">
						外部单号:
					</view>
				</uni-col>
				<uni-col :span="7">
					<view class="demo-uni-col-value light">
						2410123456
					</view>
				</uni-col>
				<uni-col :span="3">
					<view class="demo-uni-col-key dark">
						状态:
					</view>
				</uni-col>
				<uni-col :span="3">
					<view class="demo-uni-col-value light">
						新建
					</view>
				</uni-col>
				<uni-col :span="3">
					<view class="demo-uni-col-key dark">
						行号:
					</view>
				</uni-col>
				<uni-col :span="3">
					<view class="demo-uni-col-value light">
						00001
					</view>
				</uni-col>
			</uni-row>
		
			<uni-row class="demo-uni-row-zhan "    :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row my-stop"    :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row-zhan2 "    :width="nvueWidth">
			</uni-row>
		
			<uni-row>
				<uni-col>
					<view class="demo-uni-col-key dark">
						物料描述:
					</view>
				</uni-col>
			</uni-row>
			<uni-row style="margin-bottom: 20rpx;">
				<uni-col>
					<view class="demo-uni-col-value light">
						DESMODUR-44-V-20L-HK{{billno}}
					</view>
				</uni-col>
			</uni-row>
			<uni-row>
				<uni-col :span="10">
					<view class="demo-uni-col-key dark">
						物料
					</view>
				</uni-col>
				<uni-col :span="9">
					<view class="demo-uni-col-key dark">
						批号
					</view>
				</uni-col>
				<uni-col :span="5">
					<view class="demo-uni-col-key dark">
						物料属性
					</view>
				</uni-col>
			</uni-row>
			<uni-row style="margin-bottom: 20rpx;">
				<uni-col :span="10">
					<view class="demo-uni-col-key light">
						{{type}}
					</view>
				</uni-col>
				<uni-col :span="9">
					<view class="demo-uni-col-key light">
						2021/1523YX
					</view>
				</uni-col>
				<uni-col :span="5">
					<view class="demo-uni-col-key light">
						正常
					</view>
				</uni-col>
			</uni-row>
			<uni-row>
				<uni-col :span="10">
					<view class="demo-uni-col-key dark">
						库位
					</view>
				</uni-col>
				<uni-col :span="9">
					<view class="demo-uni-col-key dark">
						包装代码
					</view>
				</uni-col>
				<uni-col :span="5">
					<view class="demo-uni-col-key dark">
						包装单位
					</view>
				</uni-col>
			</uni-row>
			<uni-row>
				<uni-col :span="10">
					<view class="demo-uni-col-key light">
						RECEIVE
					</view>
				</uni-col>
				<uni-col :span="9">
					<view class="demo-uni-col-key light">
						{{bao}}
					</view>
				</uni-col>
				<uni-col :span="5">
					<view class="demo-uni-col-key light">
						件
					</view>
				</uni-col>
			</uni-row>
		
			<uni-row class="demo-uni-row-zhan "    :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row my-stop"    :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row-zhan2 "    :width="nvueWidth">
			</uni-row>
			<uni-row>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						订单数量
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						已出货数量
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						计费数量
					</view>
				</uni-col>
		
				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						80
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						52
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						4242
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						净重
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						毛重
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key dark">
						<!-- 总数量 -->
					</view>
				</uni-col>
		
				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						80{{type}}
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						52
					</view>
				</uni-col>
				<uni-col :span="8">
					<view class="demo-uni-col-key total">
						<!-- 4242 -->
					</view>
				</uni-col>
		
			</uni-row>
		
		
			<uni-row class="demo-uni-row-zhan "    :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row my-stop"    :width="nvueWidth">
			</uni-row>
			<uni-row class="demo-uni-row-zhan2 "    :width="nvueWidth">
			</uni-row>
		
			<uni-data-checkbox style="padding-left: 200rpx;" v-model="baseFormData.sex" :localdata="only_one" />
		
		
		</uni-card>
	</view>
</template>

<script>
	export default {
	 name: 'InHead',
		// props: {
		// 	title: {
		// 		type: String,
		// 		required: true
		// 	}
		// },
		props:{
			mxObject:''
		},
		created:function(){
			this.type=this.mxObject.type;
			this.billno=this.mxObject.billno
			this.bao=this.mxObject.bao
			// console.log(this.objdata)//打印父组件传过来的参数
			console.log(this.type)
		},
		data() {
			return {
				billno:'000',
				type:'0000',
				bao:'000',
				src: '',
				show: false,
				nvueWidth: 730,
				// 基础表单数据
				baseFormData: {
					name: '',
					age: '',
					introduction: '',
					sex: 2,
					hobby: [5],
					datetimesingle: 1627529992399
				},
				only_one: [{
					text: '选择此项',
					value: 0
				}],
			};
		},
		}
</script>

<style lang="scss" scoped>
	@import 'storage.scss';
</style>